<html>
	<head>
		<title>Graficos Company24h</title>
	</head>
<body>
<?php 
  $semanaFiltro = $this->session->userdata('semAc');

?>

<table>
<form action="graficoventasservicios" name="commentForm" method="post"/>
<tr>

<td>
<?php echo form_open('graficoventasservicios', array('name' => 'commentForm','id' => 'commentForm'));?> 
  Semanas:<select name="semanas">
           <option value="9"  <?php if ($semanaFiltro == 9):?>selected="selected"<?php endif;?>>10</option>
           <option value="15" <?php if ($semanaFiltro == 15):?>selected="selected"<?php endif;?>>16</option>
           <option value="25" <?php if ($semanaFiltro == 25):?>selected="selected"<?php endif;?>>26</option>
           <option value="51" <?php if ($semanaFiltro == 51):?>selected="selected"<?php endif;?>>52</option>
 </select>
 
 Usuarios:<select name="idusuario">
 
           <option value="17" <?php if($opcion == 17):echo "selected";?><?php endif;?>>Maddelin Soto</option>
           <option value="14" <?php if($opcion == 14):echo "selected";?><?php endif;?>>Maria Amador</option>
           <option value="32"  <?php if($opcion == 32): echo "selected";?><?php endif;?>>Laura Pimentel</option>
           <option value="40"  <?php if($opcion == 40): echo "selected";?><?php endif;?>>Mical Rodriguez</option>
          
           <option value="0"  <?php if($opcion == 0): echo "selected";?><?php endif;?>>Todos</option>
 </select>
 <input type="submit" value="Buscar"/><br/>

 <?php if($this->session->userdata('semAc')){?>
		
         
 	  						<b style="color:blue">Semana:</b>
                            <b style="color:red"><?php echo "El numero de Semana es: ".$semanaFiltro+=1; ?></b>
 
 <?php  }?>
  </td>
 	</tr>
	 </form>

			<tr>
			    <td><?php echo $ventasTipoServicio;?></td>
				<td><font>Venta Propias<br/><?php echo $nivelPrecios;?></font><br/>
				<font>Venta Express</br><?php echo $nivelExpres;?></font>
				</td>
			</tr>
		
			<tr>
				<td><?php echo $ventasSeguimientos;?></td>
				<td><?php echo $solicitudes;?></td>
			</tr>
			
			<tr>
				<td><?php echo $ventasInbound;?></td>
				<td><?php echo $interesEst;?></td>
			</tr>
			
			<tr>
				<td><?php echo $todasSalidas;?></td>
				<td><font>Porcentaje de Conversi&oacute;n<font><br/><?php echo $porcentajeCon;?></td>
			</tr>
			</table>
	 </body>
</html>




